package com.liu.controller;

import com.liu.bean.User;
import com.liu.remote.UserRemoteClient;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController implements UserRemoteClient {
    @Override
    public User get(int id) {
        return new User(1,"zzha",18);
    }
}
